/*
 * speaker.h
 *
 *  Created on: 2010-12-17
 *      Author: minfang
 */

#ifndef SPEAKER_H_
#define SPEAKER_H_

void speaker_init(){
	MUSIC_CONTROL_PORT |= (1 << MUSIC_PORT_NUMBER);
}


void speaker_on(){
	MUSIC_PORT |= (1 << MUSIC_PORT_NUMBER);
}

void speaker_off(){
	MUSIC_PORT &= ~(1 << MUSIC_PORT_NUMBER);

}
#endif /* SPEAKER_H_ */
